package com.eascs.ticket.ticket.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * The persistent class for the ticket database table.
 * 
 */
@Entity
@Table(name = "ticket")
@NamedQuery(name = "Ticket.findAll", query = "SELECT t FROM Ticket t")
public class TicketUpdate extends com.eascs.ticket.common.entity.UpdateEntity implements Serializable {
	private static final long serialVersionUID = -3096526467328497475L;

	@Id
	private String id;

	@Column(name = "bug_dev_user_code")
	private String bugDevUserCode;

	@Column(name = "bug_dev_user_name")
	private String bugDevUserName;

	@Column(name = "bug_found_env")
	private String bugFoundEnv;

	@Column(name = "bug_validated_user_code")
	private String bugValidatedUserCode;

	@Column(name = "bug_validated_user_name")
	private String bugValidatedUserName;

	private String descriptions;

	@Column(name = "module_id")
	private String moduleId;

	private String priority;

	private String title;

	@Column(name = "parent_ticket_id")
	private String parentTicketId;

	@Column(name = "total_time")
	public Double totalTime;

	@Column(name = "start_time")
	public java.util.Date startTime;

	@Column(name = "end_time")
	public java.util.Date endTime;

	private String reporter;

	@Column(name = "reporter_name")
	private String reporterName;

	public String getReporter() {
		return reporter;
	}

	public void setReporter(String reporter) {
		this.reporter = reporter;
	}

	public String getReporterName() {
		return reporterName;
	}

	public void setReporterName(String reporterName) {
		this.reporterName = reporterName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBugDevUserCode() {
		return bugDevUserCode;
	}

	public void setBugDevUserCode(String bugDevUserCode) {
		this.bugDevUserCode = bugDevUserCode;
	}

	public String getBugDevUserName() {
		return bugDevUserName;
	}

	public void setBugDevUserName(String bugDevUserName) {
		this.bugDevUserName = bugDevUserName;
	}

	public String getBugFoundEnv() {
		return bugFoundEnv;
	}

	public void setBugFoundEnv(String bugFoundEnv) {
		this.bugFoundEnv = bugFoundEnv;
	}

	public String getBugValidatedUserCode() {
		return bugValidatedUserCode;
	}

	public void setBugValidatedUserCode(String bugValidatedUserCode) {
		this.bugValidatedUserCode = bugValidatedUserCode;
	}

	public String getBugValidatedUserName() {
		return bugValidatedUserName;
	}

	public void setBugValidatedUserName(String bugValidatedUserName) {
		this.bugValidatedUserName = bugValidatedUserName;
	}

	public String getDescriptions() {
		return descriptions;
	}

	public void setDescriptions(String descriptions) {
		this.descriptions = descriptions;
	}

	public String getModuleId() {
		return moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getParentTicketId() {
		return parentTicketId;
	}

	public void setParentTicketId(String parentTicketId) {
		this.parentTicketId = parentTicketId;
	}

	public Double getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(Double totalTime) {
		this.totalTime = totalTime;
	}

	public java.util.Date getStartTime() {
		return startTime;
	}

	public void setStartTime(java.util.Date startTime) {
		this.startTime = startTime;
	}

	public java.util.Date getEndTime() {
		return endTime;
	}

	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}

}